package com.giscloud.limp.service;

import com.giscloud.limp.entity.CaseFirstInstance;
import com.giscloud.datasource.page.PageInfo;
import com.giscloud.commons.model.Result;
import java.util.List;
import com.giscloud.limp.entity.dto.CaseFirstInstanceDTO;
import java.math.BigDecimal;
import java.util.Map;

/**
 * 一审案件信息
 *
 * @author giscloud
 * @email giscloud@giscloud.com
 * @date 2020-06-10 14:25:28
 */
public interface CaseFirstInstanceService {
    /**
    *
    * 列表
    */
    PageInfo queryPage(CaseFirstInstanceDTO caseFirstInstanceDTO);

    /**
     * 导出列表查询
     * @param caseFirstInstanceDTO
     * @return
     */
    List<CaseFirstInstance> exportList(CaseFirstInstanceDTO caseFirstInstanceDTO);

    /**
     * 案件详情
     */
    Result caseInfo(CaseFirstInstanceDTO caseFirstInstanceDTO);


    /**
     * 信息
     */
     CaseFirstInstance getById(Integer caseId);

    /**
     * 保存
     */
     Result save(CaseFirstInstance caseFirstInstance);

    /**
     * 修改
     */
     Result updateById(CaseFirstInstance caseFirstInstance);
    /**
     * 删除
     */
     Result removeByIds(List<Integer> caseIds);

     Map<String,String> downloadCaseDesc(CaseFirstInstanceDTO caseFirstInstanceDTO);

     Result litigationAmountByYear(Map<String,Object> params);

     Result litigationTotalAmountByYear(Map<String,Object> params);

}

